package com.lindroy.androidplayer.ui.adapter

import androidx.lifecycle.LifecycleOwner
import com.lindroy.androidplayer.base.adapter.BasePagingAdapter
import com.lindroy.androidplayer.databinding.KnowledgeArticleItemBinding
import com.lindroy.androidplayer.logic.model.ArticleResp
import com.lindroy.androidplayer.viewmodels.ArticleItemViewModel

/**
 * @author Lin
 * @date 2022/1/25
 * @function
 */
class KnowledgeArticleAdapter(owner: LifecycleOwner) :BasePagingAdapter<ArticleItemViewModel,KnowledgeArticleItemBinding>(owner){
    override fun KnowledgeArticleItemBinding.onBindViewHolder(item: ArticleItemViewModel?, position: Int) {
        vm = item
    }
}